package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 会议室信息对象 erp_meeting_room
 * @author cxl
 * @date 2024-06-13
 */
@TableName ("erp_meeting_room")
@ApiModel (value = "会议室信息", description = "会议室信息")
@Data
public class MeetingRoomEntity {

        /** 主键id */
        @TableId (type = IdType.INPUT)
        private String id;

        /** 会议室编号 */
        @ApiModelProperty ("会议室编号")
        @TableField ("room_code")
        @Excel (name = "会议室编号")
        private String roomCode;

        /** 会议室名称 */
        @ApiModelProperty ("会议室名称")
        @TableField ("room_name")
        @Excel (name = "会议室名称")
        private String roomName;

        /** 会议室地址 */
        @ApiModelProperty ("会议室地址")
        @TableField ("room_address")
        @Excel (name = "会议室地址")
        private String roomAddress;

        /** 是否支持视频会议 */
        @ApiModelProperty ("是否支持视频会议")
        @TableField ("video_flag")
        @Excel (name = "是否支持视频会议")
        private Boolean videoFlag;

        /** 是否有投影设备 */
        @ApiModelProperty ("是否有投影设备")
        @TableField ("projection_flag")
        @Excel (name = "是否有投影设备")
        private Boolean projectionFlag;

        /** 创建人 */
        @ApiModelProperty ("创建人")
        @TableField ("user_id")
        @Excel (name = "创建人")
        private String userId;

        @ApiModelProperty ("创建时间")
        @TableField (value = "create_time")
        @JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;

        /** 更新时间 */
        @ApiModelProperty ("更新时间")
        @TableField ("change_time")
        @JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss")
        private Date changeTime;

        @ApiModelProperty ("逻辑删除")
        @TableField ("is_used")
        @Excel (name = "逻辑删除")
        private Integer isUsed;

}
